<template name="CustomTabbar">
	<view class="aaa">
		<u-tabbar v-model="nav.current" icon-size="60" :height="120" :list="nav.list" :mid-button="false" active-color="#d30904" inactive-color="#8a8a8a"></u-tabbar>
	</view>
</template>

<script>
export default {
	name: 'custom-tabbar',
	data() {
		return {
			nav: {
				current: 0,
				list: [
					{
						pagePath: '/pages/index/index',
						iconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-f046161400d4155ae19790d67ea6f4d5.png',
						selectedIconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-efd4178390f650cc2d6f604b335e6113.png',
						text: '会员'
					},
					// {
					// 	"pagePath": "/pages/custom/custom",
					// 	"iconPath": "https://mafu.oss-cn-shenzhen.aliyuncs.com/chelixin/icon/vip-0.png",
					// 	"selectedIconPath": "https://mafu.oss-cn-shenzhen.aliyuncs.com/chelixin/icon/vip-1.png",
					// 	"text": "会员"
					// },
					// {
					// 	"pagePath": "/pages/custom/insurance",
					// 	"iconPath": "https://mafu.oss-cn-shenzhen.aliyuncs.com/chelixin/icon/xian-1.png",
					// 	"selectedIconPath": "https://mafu.oss-cn-shenzhen.aliyuncs.com/chelixin/icon/xian-1.png",
					// 	"text": "车险报价",
					// 	"midButton": true,
					// 	"customerIcon": false
					// },
					// {
					// 	"pagePath": "/pages/stores/index",
					// 	"iconPath": "https://mafu.oss-cn-shenzhen.aliyuncs.com/xiche/icon/store-0.png",
					// 	"selectedIconPath": "https://mafu.oss-cn-shenzhen.aliyuncs.com/xiche/icon/store-1.png",
					// 	"text": "门店"
					// },
					// {
					// 	pagePath: '/pages/buy/category',
					// 	iconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-4839e5b590aa212d60d7fe88bb4b260b.png',
					// 	selectedIconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-da1e48f145c637c21941b78cd41c4bec.png',
					// 	text: '申领'
					// },
					{
						pagePath: '/pages/shop/shopmall',
						iconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-c0bc56364387c1d7813c13db880ce65b.png',
						selectedIconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-7169e953024e35285f28ce4e2c8d08d0.png',
						text: '商城'
					},
					{
						pagePath: '/pages/ucp/orders',
						iconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-d58f8248a1116fc090da37274548fc22.png',
						selectedIconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-0c76a80ed1061b08d85a8713b0cf9a02.png',
						text: '订单'
					},
					{
						pagePath: '/pages/ucp/index',
						iconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-315ada5c0e56d22bd6a3a2b925841a02.png',
						selectedIconPath: 'https://mafu.oss-cn-shenzhen.aliyuncs.com/shop-user/202509/oss-2df8d52332b9829591bbd813f14aaaaa.png',
						text: '我的'
					}
				]
			}
		};
	}
};
</script>

<style scoped>
.aaa {
	padding-top: 130rpx;
}
::v-deep .u-fixed-placeholder.safe-area-inset-bottom {
	display: none;
}
.u-tabbar {
	/* font-weight: bold; */
}
</style>
